#pragma once
#include "../Ode.h"

namespace Skill
{
	namespace Ode
	{
		public ref class DMatrix6 : DIUnmanagedPointer
		{
			INTERNAL_CLASS_DECLARATION(DMatrix6,dReal);
		public:
			UNMANAGEDPOINTER_DECLARATION();

			DMatrix6()
			{
				_SetPointer(new dMatrix6(),true);
			}

			property dReal default[int]
			{
				dReal get(int index);
				void set(int index,dReal value);
			}

			property dReal default[int,int]
			{
				dReal get(int i,int j);
				void set(int i,int j,dReal value);
			}

			///<summary> set a matrix to all zeros </summary>
			void SetZero();

			///<summary> set a matrix to specific value </summary>
			void SetValue(dReal value);
			
		};
	}
}